<#if invalidDicCode??>
<div class="bg-danger">无效的字典项</div>
<#else>
<div style="margin: 20px 0 10px 0;">
	<table>
		<tr>
			<td>
				<div class="btn btn-danger btn-sm dic-delete">删除</div>
			</td>
			<td>&nbsp;</td>
			<td style="border-right: 1px dotted #ddd; widows: 20px;">&nbsp;</td>
			<td style="padding-left: 5px;">&nbsp;</td>
			<td style="border: 1px solid #ddd; padding-left: 5px;">
				<input type="hidden" id="dicCode" value="${dicCode}">
				<input type="text" id="dicValue" placeholder="最多30个中文" style="border: none;">
			</td>
			<td style="border: 1px solid #eea236;">
				<div class="btn btn-warning btn-sm dic-add">添加</div>
			</td>
		</tr>
	</table>
</div>
<table class="dic-list">
	<tr class="title-row">
		<th>==========&nbsp;字典值&nbsp;==========</th>
	</tr>
	<#if data??> <#list data as d>
	<tr data-id="${d.id}">
		<td>${d.val}</td>
	</tr>
	</#list> </#if>
</table>
<script src="${request.contextPath}/js/suredy-list.js"></script>
<script src="${request.contextPath}/app/dictionary/js/list.js"></script>
</#if>
